import Vue from "vue";
import VueRouter from "vue-router";
import shouye from "../views/shouye/sy.vue";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "shouye",
    component: shouye,
  },
  {
    path: "/jiaoyidating",
    name: "jiaoyidating",
    component: () => import("../views/jiaoyidating/jydd.vue"),
  },
  {
    path: "/quanzi",
    name: "quanzi",
    component: () => import("../views/quanzi/qz.vue"),
  },
  {
    path: "/gouwuche",
    name: "gouwuche",
    component: () => import("../views/gouwuche/gwc.vue"),
  },
  {
    path: "/wode",
    name: "wode",
    component: () => import("../views/wode/wd.vue"),
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
